<table class="table content-table">
    <thead>
    <tr>
        <th ng-repeat="(key, val) in extendList[0].contents">
            {{key}}
        </th>
        <th>
            操作
        </th>
    </tr>
    </thead>

    <tbody>
    <tr ng-repeat="extend in extendList" ng-class="{  active: $index%2==0 }">

        <td ng-repeat="(key, val) in extend.contents">
            {{val}}
        </td>
        <td>
            <button ng-click="deleteExtend({extendId:extend.id})">删除</button>
        </td>
    </tr>
    </tbody>
</table>